<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>js-tmpl</title>
</head>
<body>
<script><%
    var a = new Date(); 
%></script> 

<%=a%>
</body>
</html>